package com.springcloud.demo.test.design.simpleFactory.operation;

import com.springcloud.demo.test.design.simpleFactory.Operate;

/**
 * @author zhouyang
 * @Description
 * @date 2018/09/10
 */
public class Add extends Operate {

    public Add(double a, double b) {
        super(a, b);
    }

    @Override
    public double oper() {
        return a + b;
    }
}
